package com.star.uc.contract.enums;

import com.star.common.core.contract.enums.IEnum;
import com.star.common.kit.enums.EnumValueResolver;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 登录方式
 * 如果需要根据code获取desc，请使用
 *
 * @author zhouhengzhe
 * @version 1.0
 * @date 2023/10/18 18:27
 * @see com.star.common.kit.enums.EnumUtils#getByCode(java.lang.Class, java.lang.Object)
 */
@Getter
@AllArgsConstructor
public enum EmailTypeEnum implements IEnum<String>, EnumValueResolver<EmailTypeEnum, String> {
    EMAIL("EMAIL", "email邮件"),

    GOOGLE("GOOGLE", "GOOGLE邮件");

    private final String code;

    private final String desc;
}
